package com.lijy.employee.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lijy.employee.domain.Employee;

public interface EmployeeDao {
    
	Employee findByUsernameAndPassword(Employee employee);
    
	List<Employee> list();
	
	int findCount();

	List<Employee> findByPage(@Param("begin") int begin,@Param("pageSize") int pageSize);

	void save(Employee employee);

	Employee findById(String eid);

	void update(Employee employee);

	void delete(String eid);

}
